import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import ElementPlus from "element-plus";
//引入pinia
import { createPinia } from 'pinia'
//创建pinia实例
const pinia = createPinia()
//安装pinia插件
import "element-plus/dist/index.css";
createApp(App).use(router).use(pinia).use(ElementPlus).mount('#app')
import * as ElementPlusIconsVue from "@element-plus/icons-vue";

const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
